void _i_InitKeyMap ( void )
{
	for ( int i = 0 ; i <= GLFW_KEY_LAST ; i ++ )
		lGlfw2LEKeyMap[i] = 0;

	lGlfw2LEKeyMap[32] = KEY_QUOTES;
	lGlfw2LEKeyMap[44] = KEY_COMMA;
	lGlfw2LEKeyMap[45] = KEY_MINUS;
	lGlfw2LEKeyMap[46] = KEY_PERIOD;
	lGlfw2LEKeyMap[47] = KEY_SLASH;
	lGlfw2LEKeyMap[48] = KEY_0;
	lGlfw2LEKeyMap[49] = KEY_1;
	lGlfw2LEKeyMap[50] = KEY_2;
	lGlfw2LEKeyMap[51] = KEY_3;
	lGlfw2LEKeyMap[52] = KEY_4;
	lGlfw2LEKeyMap[53] = KEY_5;
	lGlfw2LEKeyMap[54] = KEY_6;
	lGlfw2LEKeyMap[55] = KEY_7;
	lGlfw2LEKeyMap[56] = KEY_8;
	lGlfw2LEKeyMap[57] = KEY_9;
	lGlfw2LEKeyMap[59] = KEY_SEMICOLON;
	lGlfw2LEKeyMap[61] = KEY_EQUALS;
	lGlfw2LEKeyMap[65] = KEY_A;
	lGlfw2LEKeyMap[66] = KEY_B;
	lGlfw2LEKeyMap[67] = KEY_C;
	lGlfw2LEKeyMap[68] = KEY_D;
	lGlfw2LEKeyMap[69] = KEY_E;
	lGlfw2LEKeyMap[70] = KEY_F;
	lGlfw2LEKeyMap[71] = KEY_G;
	lGlfw2LEKeyMap[72] = KEY_H;
	lGlfw2LEKeyMap[73] = KEY_I;
	lGlfw2LEKeyMap[74] = KEY_J;
	lGlfw2LEKeyMap[75] = KEY_K;
	lGlfw2LEKeyMap[76] = KEY_L;
	lGlfw2LEKeyMap[77] = KEY_M;
	lGlfw2LEKeyMap[78] = KEY_N;
	lGlfw2LEKeyMap[79] = KEY_O;
	lGlfw2LEKeyMap[80] = KEY_P;
	lGlfw2LEKeyMap[81] = KEY_Q;
	lGlfw2LEKeyMap[82] = KEY_R;
	lGlfw2LEKeyMap[83] = KEY_S;
	lGlfw2LEKeyMap[84] = KEY_T;
	lGlfw2LEKeyMap[85] = KEY_U;
	lGlfw2LEKeyMap[86] = KEY_V;
	lGlfw2LEKeyMap[87] = KEY_W;
	lGlfw2LEKeyMap[88] = KEY_X;
	lGlfw2LEKeyMap[89] = KEY_Y;
	lGlfw2LEKeyMap[90] = KEY_Z;
	lGlfw2LEKeyMap[91] = KEY_OPENBRACKET;
	lGlfw2LEKeyMap[92] = KEY_BACKSLASH;
	lGlfw2LEKeyMap[93] = KEY_CLOSEBRACKET;
	lGlfw2LEKeyMap[97] = KEY_A;
	lGlfw2LEKeyMap[98] = KEY_B;
	lGlfw2LEKeyMap[99] = KEY_C;
	lGlfw2LEKeyMap[100] = KEY_D;
	lGlfw2LEKeyMap[101] = KEY_E;
	lGlfw2LEKeyMap[102] = KEY_F;
	lGlfw2LEKeyMap[103] = KEY_G;
	lGlfw2LEKeyMap[104] = KEY_H;
	lGlfw2LEKeyMap[105] = KEY_I;
	lGlfw2LEKeyMap[106] = KEY_J;
	lGlfw2LEKeyMap[107] = KEY_K;
	lGlfw2LEKeyMap[108] = KEY_L;
	lGlfw2LEKeyMap[109] = KEY_M;
	lGlfw2LEKeyMap[110] = KEY_N;
	lGlfw2LEKeyMap[111] = KEY_O;
	lGlfw2LEKeyMap[112] = KEY_P;
	lGlfw2LEKeyMap[113] = KEY_Q;
	lGlfw2LEKeyMap[114] = KEY_R;
	lGlfw2LEKeyMap[115] = KEY_S;
	lGlfw2LEKeyMap[116] = KEY_T;
	lGlfw2LEKeyMap[117] = KEY_U;
	lGlfw2LEKeyMap[118] = KEY_V;
	lGlfw2LEKeyMap[119] = KEY_W;
	lGlfw2LEKeyMap[120] = KEY_X;
	lGlfw2LEKeyMap[121] = KEY_Y;
	lGlfw2LEKeyMap[122] = KEY_Z;
	lGlfw2LEKeyMap[126] = KEY_TILDE;

	//Special keys
	lGlfw2LEKeyMap[GLFW_KEY_SPACE] = KEY_SPACE;
	lGlfw2LEKeyMap[GLFW_KEY_ESC] = KEY_ESCAPE;
	lGlfw2LEKeyMap[GLFW_KEY_F1] = KEY_F1;
	lGlfw2LEKeyMap[GLFW_KEY_F2] = KEY_F2;
	lGlfw2LEKeyMap[GLFW_KEY_F3] = KEY_F3;
	lGlfw2LEKeyMap[GLFW_KEY_F4] = KEY_F4;
	lGlfw2LEKeyMap[GLFW_KEY_F5] = KEY_F5;
	lGlfw2LEKeyMap[GLFW_KEY_F6] = KEY_F6;
	lGlfw2LEKeyMap[GLFW_KEY_F7] = KEY_F7;
	lGlfw2LEKeyMap[GLFW_KEY_F8] = KEY_F8;
	lGlfw2LEKeyMap[GLFW_KEY_F9] = KEY_F9;
	lGlfw2LEKeyMap[GLFW_KEY_F10] = KEY_F10;
	lGlfw2LEKeyMap[GLFW_KEY_F11] = KEY_F11;
	lGlfw2LEKeyMap[GLFW_KEY_F12] = KEY_F12;
	lGlfw2LEKeyMap[GLFW_KEY_UP] = KEY_UP;
	lGlfw2LEKeyMap[GLFW_KEY_DOWN] = KEY_DOWN;
	lGlfw2LEKeyMap[GLFW_KEY_LEFT] = KEY_LEFT;
	lGlfw2LEKeyMap[GLFW_KEY_RIGHT] = KEY_RIGHT;
	lGlfw2LEKeyMap[GLFW_KEY_LSHIFT] = KEY_LSHIFT;
	lGlfw2LEKeyMap[GLFW_KEY_RSHIFT] = KEY_RSHIFT;
	lGlfw2LEKeyMap[GLFW_KEY_LCTRL] = KEY_LCONTROL;
	lGlfw2LEKeyMap[GLFW_KEY_RCTRL] = KEY_RCONTROL;
	lGlfw2LEKeyMap[GLFW_KEY_LALT] = KEY_LALT;
	lGlfw2LEKeyMap[GLFW_KEY_RALT] = KEY_RALT;
	lGlfw2LEKeyMap[GLFW_KEY_TAB] = KEY_TAB;
	lGlfw2LEKeyMap[GLFW_KEY_ENTER] = KEY_ENTER;
	lGlfw2LEKeyMap[GLFW_KEY_BACKSPACE] = KEY_BACKSPACE;
	lGlfw2LEKeyMap[GLFW_KEY_INSERT] = KEY_INSERT;
	lGlfw2LEKeyMap[GLFW_KE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